package com.maizhe.dao;

import com.maizhe.entity.User;
import com.maizhe.entity.UserRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface UserRoleMapper {


    List<Map<String,Object>> findById(@Param("id") String id);

    int saveUserRole(UserRole userRole);

    int deleteByUserId(String id);
}